package obj.day6;

import java.util.Arrays;

/**
 * @author げっしょく
 * @date 2021/7/22
 */
public class adbaw {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5, 7, 8, 9};
        System.out.println(Arrays.binarySearch(arr, 6));
        int[] arr2 = {64,84,12,56,81,73,62,50,11};
        Arrays.sort(arr2);
        System.out.println(Arrays.toString(arr2));
    }
}
